|
|
"Chris B" <nom### [at] nomailcom> wrote in message
news:4757d84a$1@news.povray.org...
> light_source {<0,0,-400> color rgb 1}
> plane {z,-300
> pigment {
> image_map {jpeg "Your_Image.jpg"
> filter all 1 once}
> translate <-0.5,-0.5,0>
> }
> }
AFAIK 'filter all' will only work with indexed images.
However, there's no need for such hacks, it's perfectly possible to
'perspective-transform' the image_map with functions. As Nicolas Alvarez
mentioned, Rune's illusion.inc can be used for just that.
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
|